package edu.fsu.cs.SHPE;

import com.google.android.maps.GeoPoint;

import android.graphics.drawable.Drawable;
import android.util.Log;

public class Venue {
	
	private long id, venueTypeId;
	private String name, description, website, phone, address, city, province, country, postalCode, lat, lon;
	private Drawable thumbnail;
	
	public GeoPoint getGeoPoint(){
		Log.i("Venue", "Getting GeoPoint for " + name + " lat/lon<" + lat + "><" + lon + ">"); 
		
		return new GeoPoint((int)(Double.parseDouble(lat) * 1000000), (int)(Double.parseDouble(lon) * 1000000));
	}
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public long getVenueTypeId() {
		return venueTypeId;
	}
	public void setVenueTypeId(long venueTypeId) {
		this.venueTypeId = venueTypeId;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getWebsite() {
		return website;
	}
	public void setWebsite(String website) {
		this.website = website;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getCountry() {
		return country;
	}
	public void setCountry(String country) {
		this.country = country;
	}
	public String getPostalCode() {
		return postalCode;
	}
	public void setPostalCode(String postalCode) {
		this.postalCode = postalCode;
	}
	public String getLat() {
		return lat;
	}
	public void setLat(String lat) {
		this.lat = lat;
	}
	public String getLon() {
		return lon;
	}
	public void setLon(String lon) {
		this.lon = lon;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getName() {
		return name;
	}
	public void setThumbnail(Drawable thumbnail) {
		this.thumbnail = thumbnail;
	}
	public Drawable getThumbnail() {
		return thumbnail;
	}
	
	
	//private Location loc;

}
